package com.yuntsg.nnsfcp.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author gcr
 * @since 2019-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BackUpDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 备份人员id
     */
    private Integer uid;

    /**
     * 备份人员姓名
     */
    private String username;

    /**
     * 数据库备份文件路径
     */
    private String dbPath;

    /**
     * 压缩包存放路径
     */
    private String filePath;

    /**
     * 备份时间
     */
    private LocalDateTime backTime;

    /**
     * 是否备份 0是未备份 1是已备份
     */
    private Integer status;


}
